package com.lizhenhua.timeoutcancel.fallback;

import com.lizhenhua.timeoutcancel.feignClient.OrderCloseFeignClient;
import org.springframework.stereotype.Component;

@Component
public class OrderCloseFallback implements OrderCloseFeignClient {
    @Override
    public int closeOrder(String orderId, int closeType) {

        System.out.println("执行了----------------------------close-order 的降级服务");

        return 0;
    }
}
